<?php if(empty($this->success)) :?>
    <?php echo $this->form->render($this) ?>
<?php else :?>

<div>
 
    <script type="text/javascript">
      Cookie.write('webmix_id',<?php echo $this->webmix_id?>);
      setTimeout(function()
      {
        parent.window.location.href = "/webmix";
      }, <?php echo 1000 ; ?>);
    </script>
  

 
    <div class="global_form_popup_message">
      <?php echo $this->message; ?>
    </div>
  
</div>
<?php endif; ?>